<?php

	//后台商品信息模型
	class GoodsModel extends Model{
		
		//字段
		protected $fields=array(
				'g_id',
				'g_name',
				'g_desc',
				'g_sn',
				'g_price',
				'g_inv',
				'g_sort',
				'g_is_sale',
				'g_img',
				'g_water_img',
				'g_thumb_img',
				'g_is_hot',
				'g_is_new',
				'g_is_delete',
				'c_id',
				'b_id',
				'_pk'      => 'g_id',
				'_autoinc' =>true
		);
	}